package cn.dbqn.service;

import cn.dbqn.dao.ChickmarketMapper;
import cn.dbqn.entity.Chickmarket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChickmarketService {
    @Autowired
    private ChickmarketMapper chickmarketMapper;

    public List<Chickmarket> findAllRjxs(){
        return chickmarketMapper.findAll();
    }

    public Chickmarket rjxs(Integer chickmarketNo){
        return chickmarketMapper.rjxs(chickmarketNo);
    }
}
